package jp.seraph.same.view.gui.tree;

import jp.seraph.same.controller.MotionSessionController;
import jp.seraph.same.model.MotionSessionModel;

public class SessionObject implements TreeUserObject {
    public SessionObject(MotionSessionModel aSession, MotionSessionController aController) {
        mSession = aSession;
        mController = aController;
    }

    private MotionSessionModel mSession;

    private MotionSessionController mController;

    public MotionSessionModel getSession() {
        return mSession;
    }

    public MotionSessionController getController() {
        return mController;
    }

    public String getModelName() {
        return mSession.getName();
    }

    @Override
    public String toString() {
        return mSession.getName();
    }
}
